import { Component, OnInit } from '@angular/core';
import { Service } from '../../../server/server';
import { CudTableService } from '../../../public/serve/cud-table/cud-table.service';

@Component({
  selector: 'app-database-details',
  templateUrl: './database-details.component.html'
})
export class DatabaseDetailsComponent implements OnInit {

  constructor(private tableListService: CudTableService,private server: Service) { 
    
  }

  ngOnInit() {
    //接收详情数据
    this.server.databasedetailseventEmit.subscribe((value: any) => {
      this.details = value;
    });
  }

  public details:any;



}
